package com.hb.proxy.jingtai;

public class StaticProxy implements Service {
    private Service realService;
    public StaticProxy(Service realService) {
        this.realService = realService;
    }

    @Override
    public void execute() {
        System.out.println("执行前的操作...");
        realService.execute();
        System.out.println("执行后的操作...");
    }
}